package com.zhulong.mvcByHand.controller;


import com.zhulong.mvcByHand.annotation.MyAutowired;
import com.zhulong.mvcByHand.annotation.MyController;
import com.zhulong.mvcByHand.annotation.MyRequestMapping;
import com.zhulong.mvcByHand.service.TestService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@MyController()
@MyRequestMapping("test1")
public class TestComtroller {

    @MyAutowired
    private TestService testService;

    @MyRequestMapping("test")
    public void myTest(String param){
           System.out.println(param);
    }

    @MyRequestMapping("test1")
    public void myTest1(String param){
        System.out.println(param);
    }
}
